<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<script language="javascript" src="js/lib.js"></script>
<script language="javascript">
function loading(obj)
{
	var dobj = $("textarea");
	var c = eval(obj.value);
	var v = [];
	for(var i in c)
	{
		try
		{
			v.push(i+"="+String(c[i])+"\n")
		}
		catch(ex)
		{
			v.push(i+"="+String(typeof(c[i]))+"\n")
		}
	}
	dobj.value = v.join("\n");
	/*
	var iFrameXmlHttp = new IFrameXmlHttp();
	iFrameXmlHttp.open("get","/province.xml",true);
	iFrameXmlHttp.setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded")
	iFrameXmlHttp.send("a=1");
	iFrameXmlHttp.onreadystatechange = function(){
		if(this.readyState == 4){
			dobj.value = this.responseText;
		}
	}
	*/
}
function test(hash){
	document.getElementById("textarea").value = hash;
}
</script>
</head>
<body>
	<div id="sel_t" style="-moz-user-select:none">a</div>
	<input id="textfield" type="text" size="30" />
	<input type="button" name="submit" onclick="loading(document.getElementById('textfield'))" value="OK" />
	<a href="/my1.htm?a" target="iframe1">a</a>&nbsp;<a href="/my1.htm?b" target="iframe1">b</a>&nbsp;<a href="/my1.htm?c" target="iframe1">c</a><br>
	<textarea id="textarea" cols="80" rows="20"></textarea>
	<iframe id="iframe1" name="iframe1" src="/my1.htm?d" width="300" height="200"></iframe>
</body> 
</html> 
